package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户角色信息表
 * </p>
 *
 * @author fengzheng
 * @since 2022-04-29
 */
@Getter
@Setter
@TableName("user_role_info")
@ApiModel(value = "UserRoleInfo对象", description = "用户角色信息表")
public class UserRoleInfo {

    @ApiModelProperty("角色ID")
    @TableId("role_id")
    private String roleId;

    @ApiModelProperty("角色类型")
    @TableField("role_type")
    private String roleType;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
